const Controllers = require('../../controllers/Controller.js').controller;
Page({
  data: {
    desc:''
  },
  onLoad: function (options) {
    if(options.id){
      this.getdesc(options.id)
    }
    
  },
  getdesc(id){
    Controllers.vipdetails({shopId:wx.getStorageSync('shopId'),vipId:id}).then(res=>{
      this.setData({
        desc:res.data
      })
    })
  },


})